import React from 'react'
import { Swiper } from 'antd-mobile'

import './index.scss'
const Swiper2 = (props) => {
    const { swiperimg } = props
    const url = 'https://hshop.honorfile.com/pimages/cnqx/'
    return <div className='image-swiper'>
        <Swiper autoplay loop >
            {swiperimg.map((item, index) => <Swiper.Item key={index}>
                <img src={url + item.photoPath + '800_800_' + item.photoName} alt="" />
            </Swiper.Item>
            )}
        </Swiper>

    </div>
}
export default Swiper2 
